home *** CD-ROM | disk | FTP | other *** search
/ SGI Enlighten DSM 1.1 / SGI EnlightenDSM 1.1.iso / ntsetup / disk1 / _setup.1 / testtab.example < prev    next >
Text File  |  1998-06-30  |  9KB  |  268 lines

  1. #
  2. # Copyright (c) 1990-1998 Enlighten Software Solutions, Inc.
  3. #
  4. # This is an example testtab file. Not all test may be on all systems.
  5. # Normally this file is automatically created. Changes to this file should
  6. # be made using the GUI or via SNMP (with your network management app). However
  7. # you may also edit this file. 
  8. # When editing this file, you may add tests anywhere, there is no specific
  9. # order required. When Events updates this file, it WILL reorder the tests
  10. # and any comments you have added will be lost.
  11. #
  12.  
  13. *********
  14.   cache 
  15. **********
  16. ncache | :\
  17.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:\
  18.     :!pep:severe=3:!log:high=50.00:units=percent:delta=5.00:\
  19.     :+rate=10.00:\
  20.     :/* end  ncache */:
  21. *********
  22.   cpu 
  23. **********
  24. cpu load | :\
  25.     :on:testfreq=1:alarmfreq=1:mailer=/bin/mail:notify=jerry:pep:\
  26.     :severe=2:!log:high=5.00:units=units:delta=0.00:\
  27.     :/* end  cpu load */:
  28. cpu idle | :\
  29.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=jerry:\
  30.     :!pep:severe=3:log:units=percent:delta=1:\
  31.     :/* end  cpu idle */:
  32. cpu kernel | :\
  33.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=jerry:pep:\
  34.     :severe=3:log:high=70:units=percent:delta=1:\
  35.     :/* end  cpu kernel */:
  36. cpu user | :\
  37.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=jerry:pep:\
  38.     :severe=3:log:high=70:units=percent:delta=1:\
  39.     :/* end  cpu user */:
  40. cpu wait | :\
  41.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=jerry:pep:\
  42.     :severe=3:log:high=70:units=percent:delta=1:\
  43.     :/* end  cpu wait */:
  44. *********
  45.   proc 
  46. **********
  47. proc_slots | :\
  48.     :on:testfreq=1:alarmfreq=60:mailer=/bin/mail:notify=root:pep:\
  49.     :severe=3:!log:low=98:units=slots:delta=15:\
  50.     :/* end  proc_slots */:
  51. # restart a process if it dies
  52. !nfsd instances | :\
  53.     :on:mailer=/bin/mail:notify=root:pep:\
  54.     :severe=3:log:low=3:high=5:command=/scripts/nfsd_restart:
  55.     :/* end !nfsd */
  56. # alarm if a process starts taking up too much memory, maybe it has a memory
  57. # leak.
  58. !myprog size |:\
  59.     :on:high=500:+jump=25:notify=alice:
  60.     /* end !myprog size */
  61. # alarm if a process becomes a cpu hog
  62. !his_prog time |:\
  63.     :on:high=200:log:delta=10:\
  64.     :/* end !his_prog time */:
  65. *********
  66.   fs 
  67. **********
  68. / blocks free | :\
  69.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=ted:\
  70.     :!pep:severe=2:log:low=48079:units=blocks:delta=100:\
  71.     :/* end  / blocks free */:
  72. / inodes free | :\
  73.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=ted:\
  74.     :!pep:severe=2:log:low=12083:units=inodes:delta=0:\
  75.     :/* end  / inodes free */:
  76. /usr blocks free | :\
  77.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=ted:\
  78.     :!pep:severe=2:log:low=48079:units=blocks:delta=100:\
  79.     :/* end  /usr blocks free */:
  80. /usr inodes free | :\
  81.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=ted:\
  82.     :!pep:severe=2:log:low=12083:units=inodes:delta=0:\
  83.     :/* end  /usr inodes free */:
  84. /var blocks free | :\
  85.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=ted:\
  86.     :!pep:severe=2:log:low=9595:units=blocks:delta=0:\
  87.     :/* end  /var blocks free */:
  88. /var inodes free | :\
  89.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=ted:\
  90.     :!pep:severe=2:log:low=2643:units=inodes:delta=0:\
  91.     :/* end  /var inodes free */:
  92. /tmp blocks free | :\
  93.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=ted:\
  94.     :!pep:severe=2:log:low=4085:units=blocks:delta=0:\
  95.     :/* end  /tmp blocks free */:
  96. /tmp inodes free | :\
  97.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=ted:\
  98.     :!pep:severe=2:log:low=612:units=inodes:delta=0:\
  99.     :/* end  /tmp inodes free */:
  100. /opt blocks free | :\
  101.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=ted:\
  102.     :!pep:severe=2:log:low=76969:units=blocks:delta=0:\
  103.     :/* end  /opt blocks free */:
  104. /opt inodes free | :\
  105.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=ted:\
  106.     :!pep:severe=2:log:low=19257:units=inodes:delta=0:\
  107.     :/* end  /opt inodes free */:
  108. # The /SWAP is a psuedo name and refers to total system swap space regardless
  109. #  of the actual number of swap devices.
  110. /SWAP blocks free | :\
  111.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=ted:pep:\
  112.     :severe=5:log:low=2:units=blocks free:delta=2000:\
  113.     :/* end  /SWAP blocks free */:
  114. *********
  115.   files 
  116. **********
  117. #  The size test could be used to automatically archive the many system and
  118. # other log files that are allowed to grow without bound.
  119. /var/adm/myapp.log size | :\
  120.     :on:testfreq=60:alarmfreq=60:mailer=/bin/mail:notify=root:pep:\
  121.     :severe=2:log:units=size:delta=0:high=200000:\
  122.     :command=~/policy/archive.sh:
  123.     :/* end  /var/adm/sulog size */:
  124. # Alarm each time a file is accessed.
  125. /secure_data accessed |:\
  126.     :on:testfreq=1:alarmfreq=1:\
  127.     :-jump=1:+jump=1:pep:delta=1:log:
  128.     :/* end /secure_data accessed */
  129. # Alarm each time a file is modified
  130. /mystuff/setuid_script modified |:\
  131.     :on:testfreq=1:alarmfreq=1:\
  132.     :-jump=1:+jump=1:
  133.     :/* end /mystuff/setuid_script modified */
  134. *********
  135.   QUEUES
  136. *********
  137. # This group is good for detecting when an email, printer, or other directory
  138. # based que is getting backed up.
  139.  
  140. #This test alarms when there are two many files in the directory. It might be
  141. #used to alart you when it's time to start shifting print jobs to another
  142. #printer
  143. /usr/spool/lp/laser24 |:\
  144.     :on:testfreq=5:alarmfreq=30:\
  145.     :log:delta=10:\
  146.     :high=100:\
  147.     :/* end /usr/spool/lp/laser24 */:
  148. #This test is usefull when care about how many 'old' files are stuck in the 
  149. #que. It is like the above test, but contains a value for 'age' (minutes).
  150. #Specifically, this test will alarm when the mail queue has more than 20 files
  151. #that are more than 30 minutes old.
  152. /usr/spool/mqueue |:\
  153.     :on:testfreq=5:alarmfreq=30:command=/usr/gordon/vickers:\
  154.     :age=30:high=20:\
  155.     :/* end /usr/spool/mqueue */:
  156. *********
  157.   printers 
  158. **********
  159. printers | :\
  160.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:\
  161.     :!pep:severe=3:!log:units=....:delta=0:\
  162.     :/* end  printers */:
  163. *********
  164.   rpc 
  165. **********
  166. rpcc_calls | :\
  167.     :off:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:\
  168.     :!pep:severe=3:!log:units=calls:delta=100:\
  169.     :/* end  rpcc_calls */:
  170. rpcc_badcalls | :\
  171.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:\
  172.     :!pep:severe=3:!log:units=bad calls:delta=30:+jump=10:\
  173.     :/* end  rpcc_badcalls */:
  174. rpcc_retrans | :\
  175.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:\
  176.     :!pep:severe=3:log:units=retransmissions:delta=30:+jump=10:\
  177.     :/* end  rpcc_retrans */:
  178. rpcc_badxid | :\
  179.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:\
  180.     :!pep:severe=3:log:units=units:delta=0:+jump=10:\
  181.     :/* end  rpcc_badxid */:
  182. rpcc_timeout | :\
  183.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:pep:\
  184.     :severe=3:log:units=units:delta=50:+jump=10:\
  185.     :/* end  rpcc_timeout */:
  186. rpcc_wait | :\
  187.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:\
  188.     :!pep:severe=3:log:units=units:delta=0:+jump=10:\
  189.     :/* end  rpcc_wait */:
  190. rpcc_newcred | :\
  191.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:\
  192.     :!pep:severe=3:log:units=units:delta=0:+jump=20:\
  193.     :/* end  rpcc_newcred */:
  194. rpcc_timers | :\
  195.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:\
  196.     :!pep:severe=3:log:units=units:delta=0:+jump=20:\
  197.     :/* end  rpcc_timers */:
  198. rpcs_calls | :\
  199.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:\
  200.     :!pep:severe=3:log:units=calls:delta=100:\
  201.     :/* end  rpcs_calls */:
  202. rpcs_badcalls | :\
  203.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:\
  204.     :!pep:severe=3:log:units=bad calls:delta=20:+jump=10:\
  205.     :/* end  rpcs_badcalls */:
  206. rpcs_nullrecv | :\
  207.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:\
  208.     :!pep:severe=3:log:units=units:delta=0:+jump=10:\
  209.     :/* end  rpcs_nullrecv */:
  210. rpcs_badlen | :\
  211.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:\
  212.     :!pep:severe=3:log:units=bad_length:delta=30:+jump=10:\
  213.     :/* end  rpcs_badlen */:
  214. rpcs_xdrcall | :\
  215.     :on:testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:\
  216.     :!pep:severe=3:log:units=units:delta=100:\
  217.     :/* end  rpcs_xdrcall */:
  218. *********
  219.   api 
  220. **********
  221. # to use the API's, collect data yourself and write it to a file. Then edit
  222. # one of the entries below, setting "file=" to the pathname of your file,
  223. # "data" to the field number your data is in, and "label" to the field number
  224. # an optional label is in. Use one file for one or more api tests or use
  225. # seperate files for each.
  226. api1 | :\
  227.     :off:file=:data=:label=:\
  228.     :testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:!pep:\
  229.     :severe=3:log:units=units:delta=0:\
  230.     :/* end  api1 */:
  231. api2 | :\
  232.     :off:file=:data=:label=:\
  233.     :testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:!pep:\
  234.     :severe=3:log:units=units:delta=0:\
  235.     :/* end  api2 */:
  236. api3 | :\
  237.     :off:file=:data=:label=:\
  238.     :testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:!pep:\
  239.     :severe=3:log:units=units:delta=0:\
  240.     :/* end  api3 */:
  241. api4 | :\
  242.     :off:file=:data=:label=:\
  243.     :testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:!pep:\
  244.     :severe=3:log:units=units:delta=0:\
  245.     :/* end  api4 */:
  246. api5 | :\
  247.     :off:file=:data=:label=:\
  248.     :testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:!pep:\
  249.     :severe=3:log:units=units:delta=0:\
  250.     :/* end  api5 */:
  251. api6 | :\
  252.     :off:file=:data=:label=:\
  253.     :testfreq=5:alarmfreq=60:mailer=/bin/mail:notify=root:!pep:\
  254.     :severe=3:log:units=units:delta=0:\
  255.     :/* end  api6 */:
  256. *********
  257.   inventory 
  258. **********
  259. software | :\
  260.     :on:testfreq=60:alarmfreq=1400:mailer=/bin/mail:notify=root:\
  261.     :!pep:severe=3:!log:units=units:delta=0:\
  262.     :/* end  software */:
  263. # The hardware test only gets done when Events is started.
  264. hardware | :\
  265.     :on:mailer=/bin/mail:notify=root:!pep:severe=2:log:\
  266.     :units=units:delta=0:\
  267.     :/* end  hardware */:
  268.